﻿using System;

class CompareFloatingPointNumbs
{
    static void Main()
    {
        float numb1 = float.Parse(Console.ReadLine());
        float numb2 = float.Parse(Console.ReadLine());
        //float numb3 = 5.00000001f;
        //float numb4 = 5.00000003f;
        bool equal1 = Math.Abs(numb1 - numb2) < 0.000001;
        //bool equal2 = Math.Abs(numb3 - numb4) < 0.000001;
        Console.WriteLine("5.3 and 6.1 are equal: {0}", equal1);
        //Console.WriteLine("5.00000001 and 5.00000003 are equal: {0}", equal2);
    }
}
/*
class CompareFloatingPointNumbs
{
    static void Main()
    {
        float numb1 = 5.3f;
        float numb2 = 6.1f;
        float numb3 = 5.00000001f;
        float numb4 = 5.00000003f;
        bool equal1 = Math.Abs(numb1 - numb2) < 0.000001;
        bool equal2 = Math.Abs(numb3 - numb4) < 0.000001;
        Console.WriteLine("5.3 and 6.1 are equal: {0}", equal1);
        Console.WriteLine("5.00000001 and 5.00000003 are equal: {0}", equal2);
    }
}
 */
